import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Util from './utils'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import {
  viewAdaptive
} from './utils/util.view'

// 设置窗口自适应
viewAdaptive(1920, 100)
Vue.prototype.$util = Util

Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
